//
//  ForumCarCollectionCell.m
//  cityCar
//
//  Created by yao on 14-10-29.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "ForumCarCollectionCell.h"


@implementation ForumCarCollectionCell

- (void)dealloc
{
    [_carKind release];
    [_string release];
    [super dealloc];
}

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
        self.carKind = [[BaseCarKindView alloc] init];
        [self.contentView addSubview:self.carKind];
        [_carKind release];
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    
    self.carKind.frame = self.contentView.frame;
    self.carKind.temp = self.temp;
}


/*
 // Only override drawRect: if you perform custom drawing.
 // An empty implementation adversely affects performance during animation.
 - (void)drawRect:(CGRect)rect
 {
 // Drawing code
 }
 */

@end
